In This Topic
Writes the content of the specified buffer to the unmanaged memory location of this instance.
Syntax
'Declaration
Public Overloads Sub CopyFrom(Of As {New, Struct})( _
ByVal () As _
)
public void CopyFrom<>(
[]
)
where T: new(), struct
Parameters
- buffer
- The buffer.
Type Parameters
- T
- Type of a buffer element
Exceptions
| Exception | Description |
| System.ArgumentNullException | buffer |
| System.InvalidOperationException | DataPointer is Zero |
See Also